LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-24-2011, 01:26 AM   #1
logme64
LQ Newbie
 
Registered: Oct 2011
Posts: 7

Rep: Reputation: Disabled
[ncurses] How to duplicate a window and how to handle 'x window' resize?


HI,all
In ncurses, how to duplicate a window to another process?
I know I can use dupwin in same process, but how to duplicate to another process?

And how to hanndle 'x window' resize event?(putty window max,resize...)

thanks.
 
Old 10-24-2011, 10:43 PM   #2
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 4,867
Blog Entries: 1

Rep: Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869
Could you please explain this inter-process window-duplicating?
Regarding resize: if it doesn't work in putty, then you cannot fix it from your program. Note: It works in dtelnet: in bash: eval $(resize -s 25 80)

Last edited by NevemTeve; 10-25-2011 at 02:41 AM. Reason: examaple resize added
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Awesome Window manager ~ resize window key bindings do not work. bubnoff Linux - Desktop 0 12-23-2010 01:08 PM
how to print text in color by ncurses without opening a ncurses window Greatrebel Programming 0 12-20-2006 09:15 AM
scrolling window in ncurses mayank_linux Programming 1 10-19-2006 06:03 PM
ncurses, how to scroll window nazir Programming 1 08-05-2005 11:32 AM
ncurses window and keypad vegpl Programming 2 11-01-2004 02:00 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration